Improving Search-Based Automatic Program Repair With Neural Machine Translation
نویسندگان
چکیده
The challenge of automatically repairing bugs in programs to reduce debugging expenses and increase program quality is known as automated repair. To overcome this issue, test-suite-based repair techniques use a specified test suite an oracle alter the input faulty pass full suite. GenProg well-known example kind repair, which genetic programming used reorder statements already present program. However, recent practical experiments suggest that GenProg’s performance, notably for Java, not sufficient. Improved dependability necessitates automatic techniques. Template-based have recently been combined with search-based solve issues automatically. Although intriguing, it has two fundamental drawbacks: Its search space often lacks correct solution, technique disregards expertise, such precise code language. Compared template-based approach, existing neural-machine-translation-based approaches are limited by these constraints due their ability learn generate new solutions. We propose approach combines approach. More specifically, we both redundancy assumption sequence-to-sequence learning patches source potential fix feed into multiobjective evolutionary algorithm find test-suite-adequate patches. In work, novel framework called ARJANMT introduced Java programs. Two sets controlled conducted on 410 from benchmarks investigate repairability correctness our proposed framework. A comparison between state-of-the-art frameworks made. experimental results indicate combining those types (search-based neural-machine-translation-based) produces better or fixes they previously were unable individually.
منابع مشابه
Improving Translation Fluency with Search-Based Decoding and a Monolingual Statistical Machine Translation Model for Automatic Post-Editing
The BLEU scores and translation fluency for the current state-of-the-art SMT systems based on IBM models are still too low for publication purposes. The major issue is that stochastically generated sentences hypotheses, produced through a stack decoding process, may not strictly follow the natural target language grammar, since the decoding process is directed by a highly simplified translation...
متن کاملImproving Neural Machine Translation through Phrase-based Forced Decoding
Compared to traditional statistical machine translation (SMT), neural machine translation (NMT) often sacrifices adequacy for the sake of fluency. We propose a method to combine the advantages of traditional SMT and NMT by exploiting an existing phrase-based SMT model to compute the phrase-based decoding cost for an NMT output and then using this cost to rerank the n-best NMT outputs. The main ...
متن کاملImproving Lexical Choice in Neural Machine Translation
We explore two solutions to the problem of mistranslating rare words in neural machine translation. First, we argue that the standard output layer, which computes the inner product of a vector representing the context with all possible output word embeddings, rewards frequent words disproportionately, and we propose to fix the norms of both vectors to a constant value. Second, we integrate a si...
متن کاملImproving Machine Translation Quality with Automatic Named Entity Recognition
Named entities create serious problems for state-of-the-art commercial machine translation (MT) systems and often cause translation failures beyond the local context, affecting both the overall morphosyntactic well-formedness of sentences and word sense disambiguation in the source text. We report on the results of an experiment in which MT input was processed using output from the named entity...
متن کاملImproving Phrase-Based Machine Translation
Current state-of-the-art machine translation systems use a phrase-based scoring model for choosing among candidate translations in a target language, typically English. These models are deemed phrase-based because candidate sentence scores are in large part a product of phrase translation probabilities. These translation probabilities must be learned in some unsupervised manner from a pair of s...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: IEEE Access
سال: 2022
ISSN: ['2169-3536']
DOI: https://doi.org/10.1109/access.2022.3164780